#include <iostream>
#include <cmath>
using namespace std;
int main(int argc, char **argv[])
{
  double A, B, C;
  cin >> A >> C >> B;
  cout << "prizvedenie dlin AC i BC = " << (C-A)*(B-C) <<endl;
  return 0;
}
